package com.siao.events
{
	import com.siao.component.Dialog;
	
	import flash.events.Event;
	
	/**
	 * 对话框事件
	 * @author SiaoLeon
	 */
	public class DialogEvent extends Event
	{
		// -------------------------------------------------------------------------------------------------------- 静态常量
		
		public static const ADDED:String = "added";
		
		public static const REMOVED:String = "removed";
		
		// -------------------------------------------------------------------------------------------------------- 静态变量
		
		// -------------------------------------------------------------------------------------------------------- 静态方法
		
		// -------------------------------------------------------------------------------------------------------- 静态函数
		
		// -------------------------------------------------------------------------------------------------------- 属性
		
		private var _dialog:Dialog;
		
		public function get dialog():Dialog
		{
			return this._dialog;
		}
		
		// -------------------------------------------------------------------------------------------------------- 变量
		
		// -------------------------------------------------------------------------------------------------------- 构造
		
		/**
		 * 构造函数
		 */
		public function DialogEvent(type:String, dialog:Dialog)
		{
			super(type, false, false);
			
			this._dialog = dialog;
		}
	
		// -------------------------------------------------------------------------------------------------------- 方法
	
		// -------------------------------------------------------------------------------------------------------- 函数
	
	}
}
